<table style="width:100%;" cellspacing="0" cellpadding="4">
<tr>
    <td style="font-size:8pt;" class="border2">

        <table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
            <td class="block_header">{language text="groups_by_category"}</td>
        </tr>
        </table>

<div style="padding:5px;font-size:9pt;">

<table style="width:100%;">
{foreach from=$aCategories item=aItem name=aitems}
	{if $smarty.foreach.aitems.iteration is not div by 2}<tr>{/if}
	<td style="width:50%;font-size:9pt;" class="color">
	<a href="{url link='public.groups.browse' type=$aItem.id foxseotitle=$aItem.name}"><b>{$aItem.name}</b></a> <span style="font-size:7pt;">({$aItem.cnt} {language text="groups_882"})</span>
	</td>
	{if $smarty.foreach.aitems.iteration is div by 2}</tr>{/if}
{/foreach}
{if $smarty.foreach.aitems.iteration is not div by 2}<td>&nbsp;</td>{/if}
</table>

<br />
<div style="padding:5px;text-align:right;">

	<a class="link_action" href="{url link='public.groups.edit'}">[ {language text="create_a_group"} ]</a>
	<a class="link_action" href="{url link='public.groups.browse'}">[ {language text="view_all"} ]</a>
</div>
</div>

</td>
</tr>
</table>